<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>is2LeggedEndpoint</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="oauthprovider.generatetoken.html">« OAuthProvider::generateToken</a></li>
      <li style="float: right;"><a href="oauthprovider.isrequesttokenendpoint.html">OAuthProvider::isRequestTokenEndpoint »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.oauthprovider.html">OAuthProvider</a></li>
    <li>is2LeggedEndpoint</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="oauthprovider.is2leggedendpoint" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">OAuthProvider::is2LeggedEndpoint</h1>
  <p class="verinfo">(PECL OAuth &gt;= 1.0.0)</p><p class="refpurpose"><span class="refname">OAuthProvider::is2LeggedEndpoint</span> &mdash; <span class="dc-title">is2LeggedEndpoint </span></p>

 </div>

 <div class="refsect1 description" id="refsect1-oauthprovider.is2leggedendpoint-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>OAuthProvider::is2LeggedEndpoint</strong></span>(<span class="methodparam"><span class="type"><a href="language.types.declarations.html#language.types.declarations.mixed" class="type mixed">mixed</a></span> <code class="parameter">$params_array</code></span>): <span class="type"><span class="type void">void</span></span></div>

  <p class="para rdfs-comment">
   2-legged 流程，或请求签名。不需要令牌。 
  </p>

  <div class="warning"><strong class="warning">警告</strong><p class="simpara">本函数还未编写文档，仅有参数列表。</p></div>

 </div>


 <div class="refsect1 parameters" id="refsect1-oauthprovider.is2leggedendpoint-parameters">
  <h3 class="title">参数</h3>
  <dl>
   
    <dt>
<code class="parameter">params_array</code></dt>

    <dd>

     <p class="para">

     </p>
    </dd>

   
  </dl>

 </div>


 <div class="refsect1 returnvalues" id="refsect1-oauthprovider.is2leggedendpoint-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
  返回一个 <span class="classname"><a href="class.oauthprovider.html" class="classname">OAuthProvider</a></span> <span class="type"><span class="type 对象">对象</span></span>.
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-oauthprovider.is2leggedendpoint-examples">
  <h3 class="title">范例</h3>
  <div class="example" id="example-5322">
   <p><strong>示例 #1 <span class="function"><strong>OAuthProvider::is2LeggedEndpoint()</strong></span> 例子</strong></p>
   <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />$provider&nbsp;</span><span style="color: #007700">=&nbsp;new&nbsp;</span><span style="color: #0000BB">OAuthProvider</span><span style="color: #007700">();<br /><br /></span><span style="color: #0000BB">$provider</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">is2LeggedEndpoint</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);<br /><br /></span><span style="color: #0000BB">?&gt;</span>
</span>
</code></div>
   </div>

  </div>
 </div>


 <div class="refsect1 seealso" id="refsect1-oauthprovider.is2leggedendpoint-seealso">
  <h3 class="title">参见</h3>
  <ul class="simplelist">
   <li class="member"><span class="methodname"><a href="oauthprovider.construct.html" class="methodname" rel="rdfs-seeAlso">OAuthProvider::__construct()</a> - 新建一个  OAuthProvider 对象</span></li>
  </ul>
 </div>


</div></div></div></body></html>